﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="menu_usuario_formulario.aspx.cs" Inherits="softsales.pagina.menu_usuario.menu_usuario_formulario" %>
<%@ MasterType VirtualPath="~/Site.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Cabecalho" runat="server">

<script language="javascript" type="text/javascript">

    function postBackByObject(mEvent) {
        var o;
        // Internet Explorer    
        if (mEvent.srcElement) {
            o = mEvent.srcElement;
        }
        // Netscape and Firefox
        else if (mEvent.target) {
            o = mEvent.target;
        }
        if (o.tagName == "INPUT" && o.type == "checkbox") {
            __doPostBack("", "");
        }
    }


    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoPrincipal" runat="server">
		
			<div class="inner-page-title">
				<h2><asp:Label ID="LBL_TITULO_PAGINA" runat="server" Text="tb_menu_usuario"></asp:Label></h2>
					
				</div>	
		
		<div class="content-box">
		<div class="softsales-form">
      	<div class="softsales-form-linha">		
		    <div class="grid_12">
		    <label for="Label_ID_USUARIO">USUARIO</label>
				<div class="softsales-form-campo"><asp:DropDownList ID="DDL_ID_USUARIO" 
                        CssClass="campo-select requerido" runat="server" AutoPostBack="True" 
                        onselectedindexchanged="DDL_ID_USUARIO_SelectedIndexChanged"></asp:DropDownList>
                      <br />
                    <asp:HiddenField ID="HF_ID_USUARIO" runat="server" />
                </div>
				<%--<div class="softsales-form-error"><asp:RequiredFieldValidator ID="RFV_ID_USUARIO" ControlToValidate="DDL_ID_USUARIO" runat="server" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></div>--%>

                </div>
                <div class="clear"></div>
		</div>
        <div class="softsales-form-linha">
                <div class="grid_5">
                                      
                    <asp:CheckBoxList ID="CHK_DISPONIVEL" runat="server">
                    </asp:CheckBoxList>
    
                </div>
                <div class="grid_2">
                <p align="center">
                    <asp:Button ID="BTN_ADICIONAR" runat="server" Text="Adicionar" onclick="BTN_ADICIONAR_Click" 
                         /><br />
                         <asp:Button ID="BTN_LIMPAR" runat="server" Text="Limpar" onclick="BTN_LIMPAR_Click" 
                         />
                        </p>
                </div>

                <div class="grid_5">
                    <asp:ListBox ID="LST_SELECIONADO" Width="98%" Rows="30" runat="server"></asp:ListBox>
            <asp:Button CssClass="botao-salvar" ID="BTN_SALVAR" runat="server" Text="Salvar" 
                        onclick="BTN_SALVAR_Click" />
		        <asp:Button CssClass="botao-cancelar" ID="BTN_CANCELAR"  CausesValidation="False" 
                        runat="server" Text="Cancelar" onclick="BTN_CANCELAR_Click" />
		            <asp:HiddenField ID="HF_ID" runat="server" />
                </div>
            <div class="clear"></div>
        
        </div>

<%--		<div class="softsales-form-linha">		
		
		<!-- CAMPO INTEIRO -->
				<label for="Label_ID">ID</label>
				<div class="softsales-form-campo"><asp:TextBox ID="TXT_ID" runat="server"></asp:TextBox></div>
				<div class="softsales-form-error"><asp:RequiredFieldValidator ID="RFV_ID" ControlToValidate="TXT_ID" runat="server" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></div>
		</div>
		<div class="softsales-form-linha">		
		
		<!-- CAMPO INTEIRO -->
				<label for="Label_ID_USUARIO">ID_USUARIO</label>
				<div class="softsales-form-campo"><asp:TextBox ID="TXT_ID_USUARIO" runat="server"></asp:TextBox></div>
				<div class="softsales-form-error"><asp:RequiredFieldValidator ID="RFV_ID_USUARIO" ControlToValidate="TXT_ID_USUARIO" runat="server" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></div>
		</div>
		<div class="softsales-form-linha">		
		
		<!-- CAMPO INTEIRO -->
				<label for="Label_ID_MENU">ID_MENU</label>
				<div class="softsales-form-campo"><asp:TextBox ID="TXT_ID_MENU" runat="server"></asp:TextBox></div>
				<div class="softsales-form-error"><asp:RequiredFieldValidator ID="RFV_ID_MENU" ControlToValidate="TXT_ID_MENU" runat="server" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></div>
		</div>
		<div class="softsales-form-linha">		
		
		<!-- CAMPO BIT -->
				<label for="Label_INCLUIR">INCLUIR</label>
				<div class="softsales-form-campo"><asp:CheckBox CssClass="campo-checkbox" runat="server" ID="CHK_INCLUIR" />				</div>				
		</div>
		<div class="softsales-form-linha">		
		
		<!-- CAMPO BIT -->
				<label for="Label_ALTERAR">ALTERAR</label>
				<div class="softsales-form-campo"><asp:CheckBox CssClass="campo-checkbox" runat="server" ID="CHK_ALTERAR" />				</div>				
		</div>
		<div class="softsales-form-linha">		
		
		<!-- CAMPO BIT -->
				<label for="Label_CONSULTAR">CONSULTAR</label>
				<div class="softsales-form-campo"><asp:CheckBox CssClass="campo-checkbox" runat="server" ID="CHK_CONSULTAR" />				</div>				
		</div>
		<div class="softsales-form-linha">		
		
		<!-- CAMPO BIT -->
				<label for="Label_EXCLUIR">EXCLUIR</label>
				<div class="softsales-form-campo"><asp:CheckBox CssClass="campo-checkbox" runat="server" ID="CHK_EXCLUIR" />				</div>				
		</div>--%>
		
		</div>
		</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoEsquerda" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ConteudoDireita" runat="server">
</asp:Content>
